﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011BB RID: 4539
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SpaceZooBornScRsp : IMessage<SpaceZooBornScRsp>, IMessage, IEquatable<SpaceZooBornScRsp>, IDeepCloneable<SpaceZooBornScRsp>, IBufferMessage
	{
		// Token: 0x17003973 RID: 14707
		// (get) Token: 0x0600CB39 RID: 52025 RVA: 0x00223B23 File Offset: 0x00221D23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SpaceZooBornScRsp> Parser
		{
			get
			{
				return SpaceZooBornScRsp._parser;
			}
		}

		// Token: 0x17003974 RID: 14708
		// (get) Token: 0x0600CB3A RID: 52026 RVA: 0x00223B2A File Offset: 0x00221D2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SpaceZooBornScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003975 RID: 14709
		// (get) Token: 0x0600CB3B RID: 52027 RVA: 0x00223B3C File Offset: 0x00221D3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SpaceZooBornScRsp.Descriptor;
			}
		}

		// Token: 0x0600CB3C RID: 52028 RVA: 0x00223B43 File Offset: 0x00221D43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooBornScRsp()
		{
		}

		// Token: 0x0600CB3D RID: 52029 RVA: 0x00223B58 File Offset: 0x00221D58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooBornScRsp(SpaceZooBornScRsp other) : this()
		{
			this.nHIBGKEMPND_ = other.nHIBGKEMPND_.Clone();
			this.dBAIFAADPJI_ = ((other.dBAIFAADPJI_ != null) ? other.dBAIFAADPJI_.Clone() : null);
			this.kIGHMKFOHEJ_ = other.kIGHMKFOHEJ_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CB3E RID: 52030 RVA: 0x00223BC1 File Offset: 0x00221DC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooBornScRsp Clone()
		{
			return new SpaceZooBornScRsp(this);
		}

		// Token: 0x17003976 RID: 14710
		// (get) Token: 0x0600CB3F RID: 52031 RVA: 0x00223BC9 File Offset: 0x00221DC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<AHBLNFKHHNL> NHIBGKEMPND
		{
			get
			{
				return this.nHIBGKEMPND_;
			}
		}

		// Token: 0x17003977 RID: 14711
		// (get) Token: 0x0600CB40 RID: 52032 RVA: 0x00223BD1 File Offset: 0x00221DD1
		// (set) Token: 0x0600CB41 RID: 52033 RVA: 0x00223BD9 File Offset: 0x00221DD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PPBBLDEAFDG DBAIFAADPJI
		{
			get
			{
				return this.dBAIFAADPJI_;
			}
			set
			{
				this.dBAIFAADPJI_ = value;
			}
		}

		// Token: 0x17003978 RID: 14712
		// (get) Token: 0x0600CB42 RID: 52034 RVA: 0x00223BE2 File Offset: 0x00221DE2
		// (set) Token: 0x0600CB43 RID: 52035 RVA: 0x00223BEA File Offset: 0x00221DEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool KIGHMKFOHEJ
		{
			get
			{
				return this.kIGHMKFOHEJ_;
			}
			set
			{
				this.kIGHMKFOHEJ_ = value;
			}
		}

		// Token: 0x17003979 RID: 14713
		// (get) Token: 0x0600CB44 RID: 52036 RVA: 0x00223BF3 File Offset: 0x00221DF3
		// (set) Token: 0x0600CB45 RID: 52037 RVA: 0x00223BFB File Offset: 0x00221DFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600CB46 RID: 52038 RVA: 0x00223C04 File Offset: 0x00221E04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SpaceZooBornScRsp);
		}

		// Token: 0x0600CB47 RID: 52039 RVA: 0x00223C14 File Offset: 0x00221E14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SpaceZooBornScRsp other)
		{
			return other != null && (other == this || (this.nHIBGKEMPND_.Equals(other.nHIBGKEMPND_) && object.Equals(this.DBAIFAADPJI, other.DBAIFAADPJI) && this.KIGHMKFOHEJ == other.KIGHMKFOHEJ && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CB48 RID: 52040 RVA: 0x00223C88 File Offset: 0x00221E88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.nHIBGKEMPND_.GetHashCode();
			if (this.dBAIFAADPJI_ != null)
			{
				num ^= this.DBAIFAADPJI.GetHashCode();
			}
			if (this.KIGHMKFOHEJ)
			{
				num ^= this.KIGHMKFOHEJ.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CB49 RID: 52041 RVA: 0x00223D04 File Offset: 0x00221F04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CB4A RID: 52042 RVA: 0x00223D0C File Offset: 0x00221F0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CB4B RID: 52043 RVA: 0x00223D18 File Offset: 0x00221F18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.KIGHMKFOHEJ)
			{
				output.WriteRawTag(24);
				output.WriteBool(this.KIGHMKFOHEJ);
			}
			this.nHIBGKEMPND_.WriteTo(ref output, SpaceZooBornScRsp._repeated_nHIBGKEMPND_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this.dBAIFAADPJI_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.DBAIFAADPJI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CB4C RID: 52044 RVA: 0x00223DA0 File Offset: 0x00221FA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.nHIBGKEMPND_.CalculateSize(SpaceZooBornScRsp._repeated_nHIBGKEMPND_codec);
			if (this.dBAIFAADPJI_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.DBAIFAADPJI);
			}
			if (this.KIGHMKFOHEJ)
			{
				num += 2;
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CB4D RID: 52045 RVA: 0x00223E18 File Offset: 0x00222018
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SpaceZooBornScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.nHIBGKEMPND_.Add(other.nHIBGKEMPND_);
			if (other.dBAIFAADPJI_ != null)
			{
				if (this.dBAIFAADPJI_ == null)
				{
					this.DBAIFAADPJI = new PPBBLDEAFDG();
				}
				this.DBAIFAADPJI.MergeFrom(other.DBAIFAADPJI);
			}
			if (other.KIGHMKFOHEJ)
			{
				this.KIGHMKFOHEJ = other.KIGHMKFOHEJ;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CB4E RID: 52046 RVA: 0x00223EA5 File Offset: 0x002220A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CB4F RID: 52047 RVA: 0x00223EB0 File Offset: 0x002220B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 58U)
				{
					if (num == 24U)
					{
						this.KIGHMKFOHEJ = input.ReadBool();
						continue;
					}
					if (num == 58U)
					{
						this.nHIBGKEMPND_.AddEntriesFrom(ref input, SpaceZooBornScRsp._repeated_nHIBGKEMPND_codec);
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 114U)
					{
						if (this.dBAIFAADPJI_ == null)
						{
							this.DBAIFAADPJI = new PPBBLDEAFDG();
						}
						input.ReadMessage(this.DBAIFAADPJI);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005193 RID: 20883
		private static readonly MessageParser<SpaceZooBornScRsp> _parser = new MessageParser<SpaceZooBornScRsp>(() => new SpaceZooBornScRsp());

		// Token: 0x04005194 RID: 20884
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005195 RID: 20885
		public const int NHIBGKEMPNDFieldNumber = 7;

		// Token: 0x04005196 RID: 20886
		private static readonly FieldCodec<AHBLNFKHHNL> _repeated_nHIBGKEMPND_codec = FieldCodec.ForMessage<AHBLNFKHHNL>(58U, AHBLNFKHHNL.Parser);

		// Token: 0x04005197 RID: 20887
		private readonly RepeatedField<AHBLNFKHHNL> nHIBGKEMPND_ = new RepeatedField<AHBLNFKHHNL>();

		// Token: 0x04005198 RID: 20888
		public const int DBAIFAADPJIFieldNumber = 14;

		// Token: 0x04005199 RID: 20889
		private PPBBLDEAFDG dBAIFAADPJI_;

		// Token: 0x0400519A RID: 20890
		public const int KIGHMKFOHEJFieldNumber = 3;

		// Token: 0x0400519B RID: 20891
		private bool kIGHMKFOHEJ_;

		// Token: 0x0400519C RID: 20892
		public const int RetcodeFieldNumber = 12;

		// Token: 0x0400519D RID: 20893
		private uint retcode_;
	}
}
